<?php
namespace Admin\Controller;

class SetController extends Controller {

	//动作
	public function config() {
		if (IS_POST) {
			$res = api('Admin/Api/Set/save');
			$this->ajax($res);
		} else {
			$token = api('Admin/Api/Set/getToken');
			View::with('token',$token);
			View::make();
		}
	}

}
